package io.renren.modules.member.service;

import org.apache.poi.ss.usermodel.Workbook;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;

public interface ExcelService {

    List getBankListByExcel(InputStream in, String fileName) throws Exception;

    Workbook getWorkbook(InputStream inStr, String fileName) throws Exception;

    void writeExcel(HttpServletRequest request, HttpServletResponse response, String outFileName, List<String> titles,
                    List<List<String>> values) throws IOException;
}
